package com.ruoyi.glsims.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 离校申请对象 glsims_prove
 *
 * @author airted
 * @date 2023-09-12
 */
public class Prove extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证明ID */
    @Excel(name = "证明ID")
    private Long proveId;

    /** 用户ID */
    private Long userId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private Long studentPhone;

    /** 离校时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离校时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date studentLeavingTime;

    /** 证明内容 */
    @Excel(name = "证明内容")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date proveCreateTime;

    /** 审核员ID */
    @Excel(name = "审核员ID")
    private Long auditorId;

    /** 审核员姓名 */
    @Excel(name = "审核员姓名")
    private String auditorName;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer proveStatus;

    public void setProveId(Long proveId)
    {
        this.proveId = proveId;
    }

    public Long getProveId()
    {
        return proveId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setStudentPhone(Long studentPhone)
    {
        this.studentPhone = studentPhone;
    }

    public Long getStudentPhone()
    {
        return studentPhone;
    }
    public void setStudentLeavingTime(Date studentLeavingTime)
    {
        this.studentLeavingTime = studentLeavingTime;
    }

    public Date getStudentLeavingTime()
    {
        return studentLeavingTime;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setProveCreateTime(Date proveCreateTime)
    {
        this.proveCreateTime = proveCreateTime;
    }

    public Date getProveCreateTime()
    {
        return proveCreateTime;
    }
    public void setAuditorId(Long auditorId)
    {
        this.auditorId = auditorId;
    }

    public Long getAuditorId()
    {
        return auditorId;
    }
    public void setAuditorName(String auditorName)
    {
        this.auditorName = auditorName;
    }

    public String getAuditorName()
    {
        return auditorName;
    }
    public void setProveStatus(Integer proveStatus)
    {
        this.proveStatus = proveStatus;
    }

    public Integer getProveStatus()
    {
        return proveStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("proveId", getProveId())
                .append("userId", getUserId())
                .append("studentId", getStudentId())
                .append("studentName", getStudentName())
                .append("studentPhone", getStudentPhone())
                .append("studentLeavingTime", getStudentLeavingTime())
                .append("content", getContent())
                .append("proveCreateTime", getProveCreateTime())
                .append("auditorId", getAuditorId())
                .append("auditorName", getAuditorName())
                .append("proveStatus", getProveStatus())
                .toString();
    }
}
